package com.zeny.express.framework.core.database.masterslave;

import java.util.List;

public class MasterSlaveCluster {

	private String clusterName;

	private List<String> slaves;
	
	private ThreadLocal<String> current = new ThreadLocal<String>();

	/**
	 * @return clusterName
	 */
	public String getClusterName() {
		return clusterName;
	}

	/**
	 * @param clusterName
	 */
	public void setClusterName(String clusterName) {
		this.clusterName = clusterName;
	}

	/**
	 * @return slaves
	 */
	public List<String> getSlaves() {
		return slaves;
	}

	/**
	 * @param slaves
	 */
	public void setSlaves(List<String> slaves) {
		this.slaves = slaves;
	}

	/**
	 * @return current
	 */
	public ThreadLocal<String> getCurrent() {
		return current;
	}

	/**
	 * @param current
	 */
	public void setCurrent(ThreadLocal<String> current) {
		this.current = current;
	}


}
